class Girl:
    def __init__(self):
        self.name = "tyy"
        self.age = 18

    def show(self):
        print("began演习")


girl = Girl()
girl.show()
# 使用替身代替演戏

def func1():
    print(girl.name)
    girl.show()
# func1实例对象调用方法属性
func1()